package com.tiza.xiaoyoubao.ui.fragment;

import android.os.Bundle;

import com.orhanobut.hawk.Hawk;
import com.tianze.library.base.BaseWebViewFragment;
import com.tiza.xiaoyoubao.app.Constants;
import com.tiza.xiaoyoubao.entity.UserInfo;
import com.tiza.xiaoyoubao.net.ApiHttpClient;

/**
 * Created by mapple on 17/3/5.
 * 等级
 */

public class RankFragment extends BaseWebViewFragment {
UserInfo userInfo= Hawk.get(Constants.KEY_USER_INFO,(UserInfo)null);
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
    }

    @Override
    protected void initView() {
        super.initView();
        mWebView.loadUrl(ApiHttpClient.URL2+"?action=article&m=rank&user_id="+userInfo.getWebzzCmsBuyerInfo().getUserid());
    }
}
